<template>
	<view v-for="(item,index) in floorList" :key="index" class="bg-white">
		<image :src="item.url" style="height: 66rpx;width: 100%"></image>
		<view class="flex ml-1">
			<view v-for="(item2,index2) in item._id.product" :key="index2">
				<!-- 左边大图 -->
				<navigator v-if="index2===0" :url="'/subpkg/goods_list/goods_list?query='+item2.query">
					<image :src="item2.url" :style="{width:item2.image_width+'rpx'}" mode="widthFix"></image>
				</navigator>
			</view>
			<!-- 右边小图 -->
			<view click="onclick" class="flex flex-wrap justify-around">
				<!-- 左边大图 -->
				<navigator v-for="(item2,index2) in item._id.product" :key="index2"
					:url="'/subpkg/goods_list/goods_list?query='+item2.query">
					<image v-if="index2!==0" :src="item2.url" :style="{width:item2.image_width+'rpx'}" mode="widthFix">
					</image>
				</navigator>
			</view>
		</view>
	</view>
</template>

<script setup>
	defineProps({
		floorList: Array
	})
	const onclick = () => {}
</script>

<style>

</style>